import request from '@/utils/request'

// 数据查询-机车信息-获取所有车站名称信息
export function getStationNames() {
  return request({
    url: '/station/getNames',
    method: 'get'
  })
}

// 数据查询-机车信息
export function getAlarmPageInfos(query) {
  return request({
    url: '/pageAlarmList',
    method: 'get',
    params: query
  })
}

export function getCurAllAlarm() {
  return request({
    url: '/alarm/curAllAlarm',
    method: 'get'
  })
}

export function getCurAllEvent() {
  return request({
    url: '/alarm/curAllEvent',
    method: 'get'
  })
}

export function getShuntingAlertOptions() {
  return request({
    url: '/statistics/shuntingAlerts',
    method: 'get'
  })
}